package com.eunion.core.common;

import java.io.Serializable;

/**
 * session中的user.
 * 
 * 
 * @version 2015-4-20
 */
public class SessionUser implements Serializable {

	private static final long serialVersionUID = -79903614787337755L;

	private String auth;

	private String sessionUserName;

	private String sessionUserRealname;

	public SessionUser() {
		super();
	}

	public SessionUser(String sessionUserName, String sessionUserRealname, String auth) {
		super();
		this.sessionUserName = sessionUserName;
		this.sessionUserRealname = sessionUserRealname;
		this.auth = auth;
	}

	public String getSessionUserName() {
		return sessionUserName;
	}

	public void setSessionUserName(String sessionUserName) {
		this.sessionUserName = sessionUserName;
	}

	public String getSessionUserRealname() {
		return sessionUserRealname;
	}

	public void setSessionUserRealname(String sessionUserRealname) {
		this.sessionUserRealname = sessionUserRealname;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getAuth() {
		return auth;
	}

	public void setAuth(String auth) {
		this.auth = auth;
	}

	@Override
	public String toString() {
		return this.getSessionUserName().concat(",").concat(this.getSessionUserRealname());
	}

}
